﻿using System;
using System.Collections.Generic;
using System.Text;
using WordService.Business.IBLL;
using WordService.Model;
using WordService.Data.IDAL;
using WordService.Data;

namespace WordService.Business.BLL
{
    public sealed class InstitutionBLL:IInstitutionBLL
    {
        private IInstitutionDAL institutionDAL = DALManager.CreateInstitutionDAL();

        public Model.Institution CreateInstitution(Model.Institution institution)
        {
            throw new NotImplementedException();
        }

        public Boolean CreateInstitutions(IList<Model.Institution> institutions)
        {
            throw new NotImplementedException();
        }

        public IList<Institution> QueryByCondition(string keywordName, string authorName, string year)
        {
            return institutionDAL.QueryByCondition(keywordName, authorName, year);
        }
    }
}
